using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class AttributeValue : MonoBehaviour
{

    public GameObject charm_value;
    public GameObject appearance_value;
    public GameObject affection_value;
    public GameObject favorite_value;
    void Start()
    {
        charm_value.GetComponent<Text>().text = VariableDocument.GetInstance.attribute_value[0].ToString();
        appearance_value.GetComponent<Text>().text = VariableDocument.GetInstance.attribute_value[1].ToString();
        affection_value.GetComponent<Text>().text = VariableDocument.GetInstance.attribute_value[2].ToString();
        favorite_value.GetComponent<Text>().text = VariableDocument.GetInstance.attribute_value[3].ToString();

    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
